package com.dianping.tpfun.supervised.decisiontree.bean;

/**储存数据在某一特征上的取值
 * @author taiwei.zhang
 */
public class DefaultDataDim<T extends Comparable> {

    private DefaultFeature<T> feature;
    private T data;
    private int index;

    public DefaultFeature<T> getFeature() {
        return feature;
    }

    public void setFeature(DefaultFeature<T> feature) {
        this.feature = feature;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

}
